<%@ Control Language="vb" AutoEventWireup="false" Codebehind="DSLocalizatorOptions.ascx.vb" Inherits="Delisoft.DNN.Modules.DSLocalizator.DSLocalizatorOptions" %>
<%@ Register TagPrefix="dnn" TagName="Sectionhead" Src="~/controls/SectionHeadControl.ascx" %>
<%@ Register TagPrefix="dnn" TagName="Label" Src="~/controls/LabelControl.ascx" %>
<table>
	<tr>
		<td><dnn:sectionhead id="dshLocalizationOptions" runat="server" resourcekey="dshLocalizationOptions"
				cssclass="Head" text="Localization Options" includerule="true" section="tblLocalizationOptions"></dnn:sectionhead>
			<TABLE id="tblLocalizationOptions" cellSpacing="1" cellPadding="1" width="648" border="0"
				runat="server">
				<TR>
					<TD class="subhead" vAlign="top" width="198"><dnn:label id="plUsePortalSettingsLocalization" runat="server" controlname="chkUsePortalSettingsLocalization"
							suffix=":"></dnn:label></TD>
					<TD class="normal" vAlign="top"><asp:checkbox id="chkUsePortalSettingsLocalization" runat="server" CssClass="NormalTextbox"></asp:checkbox></TD>
				</TR>
				<TR>
					<TD class="subhead" vAlign="top" width="198"><dnn:label id="plUseTabLocalization" runat="server" controlname="chkUseTabLocalization" suffix=":"></dnn:label></TD>
					<TD class="normal" vAlign="top"><asp:checkbox id="chkUseTabLocalization" runat="server" CssClass="NormalTextbox"></asp:checkbox></TD>
				</TR>
				<TR>
					<TD class="subhead" vAlign="top" width="198"><dnn:label id="plUseModuleLocalization" runat="server" controlname="chkUseModuleLocalization"
							suffix=":"></dnn:label></TD>
					<TD class="normal" vAlign="top"><asp:checkbox id="chkUseModuleLocalization" runat="server" CssClass="NormalTextbox"></asp:checkbox></TD>
				</TR>
				<TR>
					<TD class="subhead" vAlign="top" width="198"><dnn:label id="plSelectorNotUsingCookie" runat="server" controlname="chkSelectorNotUsingCookie"
							suffix=":"></dnn:label></TD>
					<TD class="normal" vAlign="top"><asp:checkbox id="chkSelectorNotUsingCookie" runat="server" CssClass="NormalTextbox"></asp:checkbox></TD>
				</TR>
				<TR>
					<TD class="subhead" vAlign="top" width="198"><dnn:label id="plSelectorCookieName" runat="server" controlname="txtSelectorParamTexts" suffix=":"
							DESIGNTIMEDRAGDROP="157"></dnn:label></TD>
					<TD class="normal" vAlign="top"><asp:textbox id="txtSelectorCookieName" runat="server" CssClass="NormalTextbox" Width="328px"
							MaxLength="30"></asp:textbox></TD>
				</TR>
				<TR>
					<TD class="subhead" vAlign="top" width="198"><dnn:label id="plSelectorNotUsingParam" runat="server" controlname="chkSelectorNotUsingParam"
							suffix=":"></dnn:label></TD>
					<TD class="normal" vAlign="top"><asp:checkbox id="chkSelectorNotUsingParam" runat="server" CssClass="NormalTextbox"></asp:checkbox></TD>
				</TR>
				<TR>
					<TD class="subhead" vAlign="top" width="198"><dnn:label id="plSelectorParamText" runat="server" controlname="txtSelectorParamTexts" suffix=":"></dnn:label></TD>
					<TD class="normal" vAlign="top"><asp:textbox id="txtSelectorParamText" runat="server" CssClass="NormalTextbox" Width="328px"
							MaxLength="30"></asp:textbox></TD>
				</TR>
				<TR>
					<TD class="subhead" vAlign="top" width="198"><dnn:label id="plAutoreplaceURL" runat="server" controlname="txtSelectorParamTexts" suffix=":"></dnn:label></TD>
					<TD class="normal" vAlign="top"><asp:checkbox id="chkAutoreplaceURL" runat="server" CssClass="NormalTextbox"></asp:checkbox></TD>
				</TR>
				<TR>
					<TD class="subhead" vAlign="top" width="198"><dnn:label id="plAutoreplaceSOLPART" runat="server" controlname="txtSelectorParamTexts" suffix=":"></dnn:label></TD>
					<TD class="normal" vAlign="top"><asp:checkbox id="chkAutoreplaceSOLPART" runat="server" CssClass="NormalTextbox"></asp:checkbox></TD>
				</TR>
				<TR>
					<TD class="subhead" vAlign="top" width="198"><dnn:label id="plSelectorNotUsingGeoIP" runat="server" controlname="chkSelectorNotUsingBrowser"
							suffix=":"></dnn:label></TD>
					<TD class="normal" vAlign="top"><asp:checkbox id="chkSelectorNotUsingGeoIP" runat="server" CssClass="NormalTextbox"></asp:checkbox></TD>
				</TR>
				<TR>
					<TD class="subhead" vAlign="top" width="198"><dnn:label id="plSelectorNotUsingBrowser" runat="server" controlname="chkSelectorNotUsingBrowser"
							suffix=":"></dnn:label></TD>
					<TD class="normal" vAlign="top"><asp:checkbox id="chkSelectorNotUsingBrowser" runat="server" CssClass="NormalTextbox"></asp:checkbox></TD>
				</TR>
				<TR>
					<TD class="subhead" vAlign="top" width="198"><dnn:label id="plLocaleDetectionOrder" runat="server" controlname="txtSelectorParamTexts" suffix=":"></dnn:label></TD>
					<TD class="normal" vAlign="top"><asp:label id="lblLocaleDetectionOrder" runat="server" resourcekey="lblLocaleDetectionOrder.Text"
							CssClass="NormalTextbox"></asp:label>
						<TABLE id="Table2" cellSpacing="1" cellPadding="1" width="300" border="1">
							<TR>
								<TD vAlign="top"><asp:listbox id="lstLocaleDetectionOrder" runat="server" Width="328px" Height="96px" DataValueField="Value"
										DataTextField="Text"></asp:listbox></TD>
								<TD vAlign="top"><asp:imagebutton id="imgOrderUp" runat="server"></asp:imagebutton><asp:imagebutton id="imgOrderDown" runat="server"></asp:imagebutton><asp:imagebutton id="imgOrderDelete" runat="server"></asp:imagebutton></TD>
							</TR>
							<TR>
								<TD vAlign="top"><asp:listbox id="lstLocaleDetectionDisabled" runat="server" Width="328px" Height="96px" DataValueField="Value"
										DataTextField="Text"></asp:listbox></TD>
								<TD vAlign="top"><asp:imagebutton id="imgOrderAdd" runat="server"></asp:imagebutton></TD>
							</TR>
						</TABLE>
					</TD>
				</TR>
				<TR>
					<TD class="subhead" vAlign="top" width="198"><dnn:label id="plUseLocaleTranslation" runat="server" controlname="chkSelectorNotUsingBrowser"
							suffix=":"></dnn:label></TD>
					<TD class="normal" vAlign="top"><asp:checkbox id="chkUseLocaleTranslation" runat="server" CssClass="NormalTextbox"></asp:checkbox></TD>
				</TR>
				<TR>
					<TD class="subhead" vAlign="top" width="198"><dnn:label id="plLocaleTranslationRules" runat="server" controlname="chkSelectorNotUsingBrowser"
							suffix=":"></dnn:label></TD>
					<TD class="normal" vAlign="top"><asp:label id="lblLocaleTranslationRules" runat="server" resourcekey="lblLocaleTranslationRules.Text"></asp:label><BR>
						<asp:textbox id="txtLocaleTranslationRules" runat="server" CssClass="NormalTextbox" Width="328px"
							MaxLength="30"></asp:textbox></TD>
				</TR>
				<TR>
					<TD class="subhead" vAlign="top" width="198"><dnn:label id="plPortalAliasDefaults" runat="server" controlname="chkSelectorNotUsingBrowser"
							suffix=":"></dnn:label></TD>
					<TD class="normal" vAlign="top"><asp:label id="lblPortalAliasDefaults" runat="server" resourcekey="lblPortalAliasDefaults.Text"></asp:label><BR>
						<TABLE id="Table1" cellSpacing="1" cellPadding="1" width="300" border="1">
							<TR>
								<TD vAlign="top"><asp:listbox id="lstPortalAliasDefaults" runat="server" CssClass="NormalTextbox" Width="328px"
										Height="96px" DataValueField="Value" DataTextField="Text"></asp:listbox></TD>
								<TD vAlign="top"><asp:imagebutton id="imgAliasUp" runat="server"></asp:imagebutton><asp:imagebutton id="imgAliasDown" runat="server"></asp:imagebutton><asp:imagebutton id="imgAliasDelete" runat="server"></asp:imagebutton></TD>
							</TR>
							<TR>
								<TD vAlign="top"><asp:label id="lblAliasIf" runat="server">If your portal alias is like:</asp:label><BR>
									<asp:textbox id="txtPortalAliasDefaultsIf" runat="server" CssClass="NormalTextbox" Width="328px"
										MaxLength="30"></asp:textbox><BR>
									<asp:label id="lblPortalAliasThen" runat="server">Then set default locale to:</asp:label><BR>
									<asp:textbox id="txtPortalAliasDefaultsThen" runat="server" CssClass="NormalTextbox" Width="328px"
										MaxLength="30"></asp:textbox></TD>
								<TD vAlign="top"><asp:imagebutton id="imgAliasAdd" runat="server"></asp:imagebutton></TD>
							</TR>
						</TABLE>
						<asp:label id="lblPortalAliasInfo" runat="server"></asp:label></TD>
				</TR>
				<TR>
					<TD class="subhead" vAlign="top" width="198"><dnn:label id="plCustomStrings" runat="server" controlname="chkSelectorNotUsingBrowser" suffix=":"></dnn:label></TD>
					<TD class="normal" vAlign="top"><asp:label id="lblCustomStrings" resourcekey="lblCustomStrings" runat="server">lblCustomNames</asp:label><BR>
						<TABLE id="Table3" cellSpacing="1" cellPadding="1" width="300" border="1">
							<TR>
								<TD><asp:listbox id="lstCustomNames" runat="server" CssClass="NormalTextbox" Width="328px" Height="96px"
										DataValueField="Value" DataTextField="Text"></asp:listbox></TD>
								<TD vAlign="top"><asp:imagebutton id="imgCustomStringDelete" runat="server"></asp:imagebutton></TD>
							</TR>
							<TR>
								<TD><asp:textbox id="txtCustomName" runat="server" CssClass="NormalTextbox" Width="328px" MaxLength="30"></asp:textbox></TD>
								<TD><asp:imagebutton id="imgCustomStringAdd" runat="server"></asp:imagebutton></TD>
							</TR>
						</TABLE>
					</TD>
				</TR>
			</TABLE>
			<dnn:sectionhead id="dshAdvancedOptions" runat="server" resourcekey="dshAdvancedOptions" cssclass="Head"
				text="Advanced features for portal optimization" includerule="true" section="tblAdvancedOptions"></dnn:sectionhead>
			<table id="tblAdvancedOptions" cellSpacing="1" cellPadding="1" width="648" border="0" runat="server">
				<TR>
					<TD class="subhead" vAlign="top" width="198"><dnn:label id="plEnableSearch" runat="server" controlname="chkEnableSearch" suffix=":"></dnn:label></TD>
					<TD class="normal" vAlign="top"><asp:checkbox id="chkEnableSearch" runat="server" CssClass="NormalTextbox"></asp:checkbox></TD>
				</TR>
				<TR>
					<TD class="subhead" vAlign="top" width="198"><dnn:label id="plUseSqlViewState" runat="server" controlname="ddlUseSqlViewState" suffix=":"></dnn:label></TD>
					<TD class="normal" vAlign="top"><asp:radiobuttonlist id="ddlUseSqlViewState" runat="server" Width="360px">
							<asp:ListItem Value="0" Selected="True" resourcekey="lstUseSVSNo.Text">Don't Use</asp:ListItem>
							<asp:ListItem Value="1" resourcekey="lstUseSVSAllExcept.Text">Yes, For all IPs except those in the list</asp:ListItem>
							<asp:ListItem Value="2" resourcekey="lstUseSVSOnlyFor.Text">Yes, Only for the IPs in the list</asp:ListItem>
							<asp:ListItem Value="3" resourcekey="lstUseSVSAll.Text">Yes, For All IPs</asp:ListItem>
						</asp:radiobuttonlist><asp:label id="lblSqlViewStateHostDisabled" runat="server" ForeColor="Red" Font-Bold="True"></asp:label></TD>
				</TR>
				<TR>
					<TD class="subhead" vAlign="top" width="198"><dnn:label id="plSqlViewStatePerPage" runat="server" controlname="chkSqlViewStateByPage" suffix=":"></dnn:label></TD>
					<TD class="normal" vAlign="top"><asp:checkbox id="chkSqlViewStateperPage" runat="server" CssClass="NormalTextbox"></asp:checkbox><asp:label id="lblSqlViewStateHostDisabled2" runat="server" ForeColor="Red" Font-Bold="True"></asp:label></TD>
				</TR>
				<TR>
					<TD class="subhead" vAlign="top" width="198"><dnn:label id="plAdjustSqlSession" runat="server" controlname="chkSqlViewStateByPage" suffix=":"></dnn:label></TD>
					<TD class="normal" vAlign="top"><asp:checkbox id="chkAdjustSqlSession" runat="server" CssClass="NormalTextbox"></asp:checkbox></TD>
				</TR>
				<TR>
					<TD class="subhead" vAlign="top" width="198"><dnn:label id="plSqlViewStateIp" runat="server" controlname="txtSqlViewStateIp" suffix=":"></dnn:label></TD>
					<TD class="normal" vAlign="top"><asp:textbox id="txtSqlViewStateIp" runat="server" CssClass="NormalTextbox" Width="376px" Height="64px"
							TextMode="MultiLine"></asp:textbox></TD>
				</TR>
				<TR>
					<TD class="subhead" vAlign="top" width="198"><dnn:label id="plAntiSessionExpiration" runat="server" controlname="txtSqlViewStateIp" suffix=":"></dnn:label></TD>
					<TD class="normal" vAlign="top"><asp:radiobuttonlist id="rbAntiSessionExpiration" runat="server" Width="360px" CssClass="NormalTextbox">
							<asp:ListItem Value="0" Selected="True" resourcekey="lstUseASENo.Text">Don't Use</asp:ListItem>
							<asp:ListItem Value="1" resourcekey="lstUseASEMessageOnly.Text">Show message only</asp:ListItem>
							<asp:ListItem Value="2" resourcekey="lstUseASEAskPostback.Text">Show message and ask to postback</asp:ListItem>
							<asp:ListItem Value="3" resourcekey="lstUseASEPostback.Text">Autopostback without message</asp:ListItem>
						</asp:radiobuttonlist></TD>
				</TR>
				<TR>
					<TD class="subhead" vAlign="top" width="198"><dnn:label id="plAntiSessionExpirationTime" runat="server" controlname="txtSqlViewStateIp"
							suffix=":"></dnn:label></TD>
					<TD class="normal" vAlign="top"><asp:textbox id="txtAntiSessionExpirationTime" runat="server" CssClass="NormalTextbox"></asp:textbox></TD>
				</TR>
				<TR>
					<TD class="subhead" vAlign="top" width="198"><dnn:label id="plTabPreviewEnabled" runat="server" controlname="chkTabPreviewEnabled" suffix=":"></dnn:label></TD>
					<TD class="normal" vAlign="top"><asp:checkbox id="chkTabPreviewEnabled" runat="server" CssClass="NormalTextbox"></asp:checkbox></TD>
				</TR>
				<TR>
					<TD class="subhead" vAlign="top" width="198"><dnn:label id="plUseWhiteSpaceRemover" runat="server" controlname="chkTabPreviewEnabled" suffix=":"></dnn:label></TD>
					<TD class="normal" vAlign="top"><asp:checkbox id="chkWhiteSpaceRemover" runat="server" CssClass="NormalTextbox"></asp:checkbox></TD>
				</TR>
			</table>
			<asp:linkbutton id="cmdCancel" runat="server" resourcekey="cmdCancel" CssClass="CommandButton">Cancel</asp:linkbutton>&nbsp;&nbsp;
			<asp:linkbutton id="cmdUpdate" runat="server" resourcekey="cmdUpdate" CssClass="CommandButton">Update</asp:linkbutton></td>
	</tr>
</table>
